package com.example.spring_musicserver_1113.tools;

import lombok.Data;

/**
 * @version 1.0
 * @Author 作者名
 * @Date 2024/11/13 18:40
 * @注释
 */
@Data
public class ResponseBodyMessage <T> {
    private int status;//返回的状态码
    private String message;//返回的信息？出错的原因
    private T data;//返回给前端的数据

    public ResponseBodyMessage(int status, String message, T data) {
        this.status = status;
        this.message = message;
        this.data = data;
    }
}
